package com.training.bean.dao;

import com.training.bean.User;

public class UserDTO {
    public String token;
    public int id;
    public String nickname;
    public String phone;

    public UserDTO() {
    }

    public UserDTO(String token, User data) {
        this.token = token;
        this.id = data.id;
        this.nickname = data.nickname;
        this.phone = data.phone;
    }
}
